package com.ruoyi.system.mapper.aid;

import java.util.List;
import com.ruoyi.system.domain.aid.AidReceiver;

/**
 * 物资接收者Mapper接口
 */
public interface AidReceiverMapper {
    /**
     * 查询物资接收者
     * 
     * @param receiverId 物资接收者主键
     * @return 物资接收者
     */
    public AidReceiver selectAidReceiverByReceiverId(Long receiverId);

    /**
     * 查询物资接收者列表
     * 
     * @param aidReceiver 物资接收者
     * @return 物资接收者集合
     */
    public List<AidReceiver> selectAidReceiverList(AidReceiver aidReceiver);

    /**
     * 新增物资接收者
     * 
     * @param aidReceiver 物资接收者
     * @return 结果
     */
    public int insertAidReceiver(AidReceiver aidReceiver);

    /**
     * 修改物资接收者
     * 
     * @param aidReceiver 物资接收者
     * @return 结果
     */
    public int updateAidReceiver(AidReceiver aidReceiver);

    /**
     * 删除物资接收者
     * 
     * @param receiverId 物资接收者主键
     * @return 结果
     */
    public int deleteAidReceiverByReceiverId(Long receiverId);

    /**
     * 批量删除物资接收者
     * 
     * @param receiverIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAidReceiverByReceiverIds(Long[] receiverIds);

    /**
     * 根据用户ID查询接收者信息
     * 
     * @param userId 用户ID
     * @return 物资接收者
     */
    public AidReceiver selectAidReceiverByUserId(Long userId);

    /**
     * 根据区域查询接收者列表
     * 
     * @param region 区域
     * @return 物资接收者集合
     */
    public List<AidReceiver> selectAidReceiverByRegion(String region);

    /**
     * 根据接收者类型查询列表
     * 
     * @param receiverType 接收者类型
     * @return 物资接收者集合
     */
    public List<AidReceiver> selectAidReceiverByType(String receiverType);
} 